/**
 *
 */
package com.newer.biz.sys.auth.pojo;

import java.util.List;

/**
 * 自定义菜单对应的权限pojo对象
 *
 * @author 寻添俊
 * 2018年3月13日-上午8:31:38
 */
public class MenuAuthcInfoPojo {

    // 菜单地址
    String menuUrl;

    // 访问该菜单的权限集合
    List<String> permissions;

    // 访问该菜单的角色集合
    List<String> roleCodes;

    boolean isRoleEither;

    boolean isPermissionEither;

    public boolean isRoleEither() {
        return isRoleEither;
    }

    public void setRoleEither(boolean isRoleEither) {
        this.isRoleEither = isRoleEither;
    }

    public boolean isPermissionEither() {
        return isPermissionEither;
    }

    public void setPermissionEither(boolean isPermissionEither) {
        this.isPermissionEither = isPermissionEither;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public List<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<String> permissions) {
        this.permissions = permissions;
    }

    public List<String> getRoleCodes() {
        return roleCodes;
    }

    public void setRoleCodes(List<String> roleCodes) {
        this.roleCodes = roleCodes;
    }


    @Override
    public String toString() {
        return "MenuAuthcInfoPojo{" +
                "menuUrl='" + menuUrl + '\'' +
                ", permissions=" + permissions +
                ", roleCodes=" + roleCodes +
                ", isRoleEither=" + isRoleEither +
                ", isPermissionEither=" + isPermissionEither +
                '}';
    }
}
